﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace eLearning
{
    public partial class SignIn : ChildWindow
    {
        public SignIn()
        {
            InitializeComponent();
        }

        private void SignInNow(object sender, System.Windows.RoutedEventArgs e)
        {
        	// TODO: Add event handler implementation here.
            //if (true) //connect database, check user
            //{ }
            //else
            {
        		SignIn_Failed falied = new SignIn_Failed(this);
                falied.Show();
            }
        }
		
		public void SignUpNow ()
		{
			this.Close();
			SignUp signup = new SignUp();
			signup.Show();
		}

		private void ForgotSomeThing(object sender, System.Windows.RoutedEventArgs e)
		{
			this.Close ();
			SignIn_Forgot forgot = new SignIn_Forgot ();
			forgot.Show ();
		}
    }
}

